var Radio = require("./radio");
var inforObj={"radioName":"音乐频道"};
var radio = new Radio(inforObj);
//radio对象具备EventEmitter的属性方法
radio.on("start",function(){
    console.log(radio.radioName+"started");
    console.log("lalalalllallala....");
})
radio.on("stop",function(){
    console.log(radio.radioName+"stoped");
})
setTimeout(function(){
    radio.emit("stop");
},5000)